package org.mics.cyy.backUser.request;

import java.io.Serializable;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.Size;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 角色菜单关系
 * @author mics
 * @date 2023-10-9
 * @version  1.0
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Schema(description = "角色菜单关系请求")
public class RoleMenuRequest implements Serializable{
	/**
	 * 序列号
	 */
	private static final long serialVersionUID = -2890492373491827767L;
	
	@Schema(description = "角色id",required = true)
	@NotBlank(message = "角色id不能为空")
	@Size(min = 2,max = 32,message = "角色id长度2-32位")
	private String roleId;
	
	@Schema(description = "菜单id")
	private String[] menuIds;
}
